#include "startgame.h"
#include "ui_startgame.h"

startgame::startgame(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::startgame)
{
    ui->setupUi(this);
    connect(ui->startbutton, &QPushButton::clicked,
            this, &startgame::startbuttonclicked);
}
void startgame::startbuttonclicked(){
    emit startgameclicked();
}
startgame::~startgame()
{
    delete ui;
}

